import request from '@/utils/request'

// 查询会议纪要列表
export function listMtMinutes(query) {
  return request({
    url: '/minutes/mtMinutes/list',
    method: 'get',
    params: query
  })
}

// 查询会议纪要详细
export function getMtMinutes(id) {
  return request({
    url: '/minutes/mtMinutes/' + id,
    method: 'get'
  })
}

// 查询会议纪要详细
export function getByMeetingId(meetingId) {
  return request({
    url: '/minutes/mtMinutes/getByMeetingId/' + meetingId,
    method: 'get'
  })
}

// 保存会议纪要
export function saveMtMinutes(data) {
  return request({
    url: '/minutes/mtMinutes/save',
    method: 'post',
    data: data
  })
}

// 删除会议纪要
export function delMtMinutes(id) {
  return request({
    url: '/minutes/mtMinutes/' + id,
    method: 'delete'
  })
}

// 导出会议纪要
export function exportMtMinutes(query) {
  return request({
    url: '/minutes/mtMinutes/export',
    method: 'get',
    params: query
  })
}
